﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PrivateTracker.NET.Application
{
    public interface IPeerService
    {
        Task<IList<Peer>> GetPeersByInfoHashAsync(string infoHash);
        Task<IList<Peer>> AddPeerAsync(AnnounceInput announceInput);
        //Task<int> UpdatePeerAsync(long torrentId, AnnounceOutput announceOutput);
        Task<int> DeletePeerAsync(AnnounceInput announceInput);
        Task<bool> IsExistByHashInfoAsync(string infoHash);
    }
}
